package com.poetry.vup.user.service;

import com.poetry.vup.common.entity.user.VupUserDO;
import com.poetry.vup.common.result.page.BasePage;
import com.poetry.vup.user.domain.VupUserDTO;
import com.poetry.vup.user.domain.VupUserVO;

public interface VupUserAuthService {

    BasePage<VupUserVO> findAllVupUser(int pageSize, int pageNum);

    VupUserVO findById(Long id);

    /**
     * 登录
     * @param userName
     * @param passWord
     * @return
     */
    VupUserVO findUserNameAndPassWord(String userName, String passWord);

    /**
     * 修改
     * @param vupUserDTO
     * @return
     */
    int update(VupUserDTO vupUserDTO);

    VupUserDO findByUserName(String userName);


}
